const express = require('express');
const delete_method = require('../mether/delete_method');

// express有提供一个顶级的路由模块。直接使用
const router = express.Router();

const routers = {
  "/auth/token": delete_method.token,
}

Object.keys(routers).forEach(item => {
  router.delete(item, routers[item])
})

module.exports = router